﻿function $$(id){
    return document.getElementByld(id);
}
//页面加载时调用的函数
function pageload(){
    var txtDetail = localStorage.getItem("keyDetail");
    if(strName){
        $$("txtDetail").value=txtDetail;
    }
}
//单击“登录”按钮后调用的函数
function btnQuery_click(){
    var strDetail=$$("txtDetail").value;
    localStorage.setltem("keyDetail", strDetail);
    }